package com.coffee.admin.api.supplier.service;


import com.coffee.admin.api.supplier.query.SupplierSystemDeployQuery;
import com.coffee.admin.api.supplier.result.SupplierSystemDeployResult;
import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface SupplierSystemDeployService {

	Page<SupplierSystemDeployResult> getPager(SupplierSystemDeployQuery param, PagerInfo pr);
	
	Integer count(SupplierSystemDeployQuery param);
	
	SupplierSystemDeployResult getDetail(Integer id);
	
	List<SupplierSystemDeployResult> getList(SupplierSystemDeployQuery param, PagerInfo pr);
	
	List<SupplierSystemDeployResult> getList(SupplierSystemDeployQuery param);
	
	List<SupplierSystemDeployResult> getList();

	void delete(Integer id);

	void addOrUpdate(SupplierSystemDeployResult result)throws BusinessException;
	
	Map<Integer,SupplierSystemDeployResult> getItemMap(Set<Integer> idSet);
	
	Map<Integer,SupplierSystemDeployResult> getItemMap();
	
}